EMT Practice Test

1. Question Content...


Question List

Question1: Which environment variable will override all LC_* variables?

Question2: Which of the following commands will convert files from one character encoding to another?

Question3: Which of the following statements is true regarding the /etc/shadowfile?

Question4: What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Question5: Which of the following commands shows the current color depth of the X Server?

Question6: With syslog, what is a facility?

Question7: What is the purpose of a screen reader?

Question8: What is the purpose of the xhost program?

Question9: Where are user specific crontabs stored?

Question10: Which file contains the date of the last change of a user's password?

Question11: What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Question12: What of the following statements is true regarding a display manager?

Question13: Each entry in a crontab must end with what character?

Question14: Which of the following is true regarding the mail queue of a mail server? (choose two correct answers.)

Question15: On a regular users workstation the route command takes a long time before printing out the routing table.
Which of the following errors does that indicate?

Question16: Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

Question17: Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

Question18: Fill in the blank.
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

Question19: What is the purpose of the iconv command?

Question20: Fill in the blank.
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Question21: Which of the following are valid IPv4 network masks? (Choose two correct answers.)

Question22: What is true regarding a default route?

Question23: Fill in the blank.
What word is missing from the following SQL statement? update tablename______ fieldname
'value' where id=909;
(Please specify the missing word using lower\_case letters only.)

Question24: Fill in the blank.
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory?
(Provide the full path to the directory, without any country information)

Question25: Fill in the blank.
What is the name of the file that defines the sources (like DNS or local configuration files) and the order in which they are consulted when resolving hostnames? (Specify the full name of the file, including path.)

Question26: What is NOT contained in the locale setting of the operating system?

Question27: Which of the following is a correct entry in the /etc/hostsfile?

Question28: Which file, when using Sendmail or a compatible MTA system, will allow a user to redirect all of their mail to another address and is configurable by the user themselves?

Question29: Fill in the blank.
What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file ______
(Please provide the missing word only)

Question30: Fill in the blank.
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Question31: Fill in the blank.
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Question32: Which of the following commands can be used to associate open TCP ports with the processes that opened the ports?

Question33: Which of the following files is consulted when programs like netstat try to match port numbers to names?

Question34: What is true about groups in a Linux system? (Choose two correct answers.)

Question35: Fill in the blank.
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

Question36: Which of the following files holds the configuration for journaldwhen running system?

Question37: What is true about the file /etc/localtime?

Question38: Which file used by XDM specifies the default wallpaper?

Question39: What is the purpose of the dig command?

Question40: Which of the following commands pauses the Cups printer LaserPrinter?

Question41: Fill in the blank.
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Question42: Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?

Question43: How is a display manager started?

Question44: Fill in the blank.
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question45: Fill in the blank.
Given the following line from /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
By default, which file will be queried first for hostname lookups? (Specify the full name of the file, including path.)

Question46: Fill in the blank.
Instead of using specific host names or IP addresses, which string can be used in /etc/hosts.allow entries to cover any remote host no matter of its name or address? (Specify the relevant string only without any additional options or arguments.)

Question47: Which of the following commands will help identify a broken router between the local and the remote machine?

Question48: Fill in the blank.
What is the name of the simple graphical login manager that comes with a vanilla X11 installation?
(Specify ONLY the command without any path or parameters.)

Question49: Fill in the blank.
In which file, if present, must all users be listed that are allowed to use the cron scheduling system?
(Specify the full name of the file, including path.)

Question50: Fill in the blank.
Which command is used to manually assign an IP address to a network interface? (Specify only the command without any path or parameters.)

Question51: Which of the following is a valid IPv6 address?

Question52: The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

Question53: Depending on the host's configuration, which of the following files can be used to turn on and off network services running on a host? (choose two correct answers.)

Question54: Fill in the blank.
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Question55: Fill in the blank.
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)

Question56: How does the ping command work by default?

Question57: Which of the following details is NOT provided in any output from the netstat utility?

Question58: Which of the following SQL statements will select the fields nameand addressfrom the contacts table?

Question59: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question60: Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Question61: What is the purpose of the nsswitch.conf file?

Question62: What is NTP?

Question63: In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?

Question64: Which command will set the local machine's timezone to UTC?

Question65: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Question66: Which of the following steps prevents a user from obtaining an interactive login session?

Question67: Which command can be used to delete a group from a Linux system?

Question68: Fill in the blank.
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Question69: Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Question70: Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Question71: For accessibility assistance, which of the following programs is an on-screen keyboard?

Question72: Given the following routing table:

Why does the command route add default gw 192.168.1.1fail?

Question73: Which of the following commands are used to manage the environment and shell variables within a shell process? (choose two correct answers.)

Question74: Which of the following is true about IPv6?

Question75: What is true regarding the time in a Linux system?

Question76: Which of the following actions prevents a specific user form scheduling tasks using at or batch?

Question77: Fill in the blank.
What is the assigned port number for the HTTP service? (Specify the port number using digits.)

Question78: Fill in the blank.
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Question79: Which of the following statements is valid in the file /etc/resolv.conf?

Question80: Which of the following commands can remove a user from a group?

Question81: Which of the following details can be found in an entry of a user specific crontab? (Choose two correct answers.)

Question82: Which of the following programs can be used to determine the routing path to a given destination?

Question83: Which of the following statements is valid in the file /etc/nsswitch.conf?

Question84: What is true regarding TCP port 23?

Question85: Why should an NTP client maintain connections to several NTP servers?

Question86: On a machine running several X servers, how are the different instances of the X11 server identified?

Question87: Which of the following commands is used to rotate, compress, and mail system logs?

Question88: Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Question89: Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Question90: Fill in the blank.
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Question91: How many bits make up an IPv6 address?

Question92: Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

Question93: When issuing the command ifconfig eth0 192.168.1.20/24up, which of the following happens?
(Choose two correct answers.)

Question94: Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

Question95: Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Question96: Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Question97: Fill in the blank.
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question98: What is the purpose of the sticky keys feature in X?

Question99: Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

Question100: In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question101: What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Question102: Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Question103: Which of the following commands lists all queued print jobs?